package com.teamone.etl.datasource.requset;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description
 * @Author ZhaoPeiJie
 * @Date 2021/1/7 10:54
 * @Version 1.0
 */
@Data
public class RedisSourceAddReq {
    @NotNull(message = "数据类型不能为空")
    private Integer typeId;
    @NotNull(message = "数据源名称不能为空")
    private String datasourceName;
    @NotNull(message = "端口号不能为空")
    private String datasourcePort;
    @NotNull(message = "路径不能为空")
    private String datasourceUrl;
    @NotNull(message = "状态不能为空")
    private Integer isDisable;
    private String password;
}
